import 'package:library_base/entities/generated/json/base/json_convert_content.dart';
import 'package:library_base/entities/in_order_page_child_entity.dart';
import 'package:library_base/entities/in_order_page_detail_entity.dart';


InOrderPageEntity $InOrderPageEntityFromJson(Map<String, dynamic> json) {
  final InOrderPageEntity loginBeanEntity = InOrderPageEntity();

  final List<InOrderPageChildEntity> list = jsonConvert.convertList<InOrderPageChildEntity>(json['list']);
  loginBeanEntity.list = list;

  final int? total = jsonConvert.convert<int>(json['total']);
  if (total != null) {
    loginBeanEntity.total = total;
  }

  return loginBeanEntity;
}

Map<String, dynamic> $InOrderPageEntityToJson(InOrderPageEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['list'] = entity.list;
  data['total'] = entity.total;
  return data;
}
